package com.momin.gmall.member.feign;

import com.momin.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 这是一个声明式的远程调用
 * @author yyj
 * @Package com.momin.gmall.member.feign
 * @date 2021/3/16 10:26 下午
 */
@FeignClient("gmall-coupon")
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/member/coupons")
    R memberCoupon();
}
